@include('admin.header')
<link rel="stylesheet" href="/static/admin/bootstrap/css/bootstrap.min.css">
<div class="container-fluid">

    <!-- 手动报单记录 -->
    <div class="col-md-12" style="margin-bottom: 20px;">
        <table class="table table-striped table-hover">
            <caption>变动历史</caption>
            <tr class="info">
                <th>历史编号</th>
                <th>转账编号</th>
                <th>转账前余额 </th>
                <th>转账金额 </th>
                <th>转账后余额 </th>
                <th>转账原因 </th>
                <th>转账备注</th>
                <th>转账时间 </th>
            </tr>
            @foreach($data as $val)
            <tr>
                <td>{{$val->hisid}}</td>
                <td>{{$val->transferid}}</td>
                <td>{{$val->balance_before}}</td>
                <td style="color:red;">{{$val->amount}}</td>
                <td>{{$val->balance_after}}</td>
                <td>{{$val->reason}}</td>
                <td>{{$val->remarks}}</td>
                <td>{{$val->createtime}}</td>
            </tr>
            @endforeach
        </table>
        <!-- 分页 -->
        @if (!empty($data))
        <div class="page_list">
            {{$data->links()}}
        </div>
        @endif
    </div>

    <div class="margin:5px;"></div>

</div>


